﻿@model CafeSingleton.Models.Cafe
<h2>Add a New Review</h2>
<div class="panel panel-default">
    <div class="panel-body">
        <div class="col-md-offset-3 col-md-6">
            <form method="post">
                @*@Html.HiddenFor(x => x.CafeID);*@
                <div class="form-group">
                    <label class="col-sm-2 control-label">Name</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Message</label>
                    <div class="col-sm-10">
                        <textarea class="form-control" name="message"></textarea>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Rating</label>
                    <div class="col-sm-10">
                        <select name="Rating" class="form-control">
                            <option value="one">1</option>
                            <option value="two">2</option>
                            <option value="three">3</option>
                            <option value="four">4</option>
                            <option value="five">5</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-10">
                        <input type="hidden" class="form-control" name="cafeid" value="@Model.ID">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-10">
                        <input type="submit" class="btn btn-block btn-primary" />
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
